<template>
    <view class="container">
      <web-view :src="url"></web-view>
    </view>
  </template>

<script setup>
  import { ref } from 'vue'
  import { onLoad } from '@dcloudio/uni-app' 
  const url = ref('')
  onLoad((options) => {
    url.value = decodeURIComponent(options.url)
  })
</script>  
<style scoped>
.container {
  width: 100%;
  height: 100%;
}
</style>
